package com.lagou.service;

import com.lagou.pojo.Article;
import org.springframework.data.domain.Page;

/**
 * @author srh
 * @date 2020/03/26
 **/
public interface ArticleService {

    Integer DEFAULT_PAGE = 1;
    Integer DEFAULT_SIZE = 2;

    /**
     * 分页查询
     *
     * @param currentPage 页码
     * @return 分页数据
     */
    Page<Article> queryPage(Integer currentPage);
}
